* {
    border: none;
    font-family:"华文楷体" ;
    font: 20pt ;
    font-size: 20px;
    text-align: center;
}

QTabBar::tab {
    width: 0;
    height:0;
}

QMenu {
    margin:8px;
    padding:10px;
    border:none;
    border-radius:10px;
    background-color:white;
}

QMenu::item {
    padding:10px;
    border:none;
    border-radius:6px;
    background-color: white;
    color: black;
}

QMenu::item:selected {
    background-color:#eaeffd;
    color:blue;
}

QWidget#centralwidget{
    border-radius:6px;
    background-color:white;
}
QWidget#centralwidget QLabel{
    border-radius:6px;
}

QWidget#widget_sidebar {

    border-right: 2px solid #f3f6fe;
}

QWidget#widget_sidebar QPushButton:checked {
    background-color:#f3f6fe;
}

QWidget#widget_menu
{
    border-top:    2px solid rgba(240, 240, 240, 0.5); /* 半透明浅灰色边框 */
    border-right:  2px solid rgba(240, 240, 240, 0.5); /* 半透明浅灰色边框 */
    border-bottom: 2px solid rgba(240, 240, 240, 0.5); /* 半透明浅灰色边框 */
}

/*QWidget#inner_widget{
    border-radius:6px;
    background-color:white;
}
QWidget#inner_widget QLabel{
    border-radius:6px;
}*/

QWidget#widget_lrc {
    border-radius:6px;
}

QTabWidget#tab_lrc{
    border-radius:6px;
}

QTabWidget::pane {
    bottom:-11px;
    top:-11px;
    left:-11px;
    right:-11px;
}

QLineEdit {
    background-color:#f2f2f4;
    font-size:20px;
    color: #335eea;
    margin-left: 4px;
    padding: 10px;
    border: none;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 8px;
}
MyLineEdit#lineEdit_search
{
    color:black;
    background-color:#f2f2f4;
}
QLineEdit#lineEdit_listName{
    border-radius: 8px;
}

QPushButton {
    icon-size: 32px;
    border: none;
    border-radius: 10px;
}

QPushButton:hover {
    background-color: rgb(228, 237, 242);
}

QPushButton#pushButton_close_2:hover {
    background-color: rgb(225, 0, 0);
}


QPushButton:selected {
    background-color: rgb(228, 237, 242);
}

QPushButton:disabled {
        color:black;
}

QPushButton#pushButton_dropDown {
    padding-top:10px;
    margin-left:15px;
    margin-top:15px;
    icon: url(:/icon/downArow_gray.svg);
}

QPushButton#pushButton_dropDown:hover {
    icon: url(:/icon/downArow_black.svg);
    margin-top:15px;
    margin-left:15px;
}

QPushButton#pushButton_search{
    background-color:#f2f2f4;
    margin:0px;
    margin-left:-5px;
    padding: 5px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

QPushButton#pushButton_search:hover {
    background-color:#d3d3d3;
}

QPushButton#pushButton_close:hover {
    background-color:red;
}

QPushButton#pushButton_newSongList {
    background-color: #f2f2f4;
    font-size: 23px;
    icon-size: 20px;
    padding: 10px;
}

QLabel#label_title {
    font-size: 30px;
}

QLabel#label_searchKeywords,
#label_favorite,
#label_local,
#label_recently,
#label_mySonglist,
#label_listName {
        font: 26pt "华文楷体";
}

QLabel#label_songname,
QLabel#label_lrc_songName{
    font: 16pt "华文楷体";
}

QLabel#label_lrc_songName {
    color:white;
}

QLabel#label_songName {
    font: 14pt "华文楷体";
}

QLabel#label_author,
QLabel#label_lrc_author{
    color:#727272;
    margin:0;
    font: 10pt "华文楷体";
}

QLabel#label_lrc_songName,
QLabel#label_lrc_author
 {
    color: white;
    margin-top:2px;
    padding-left:0px;
}

QLabel#label_lrc_songName {
    margin-top:10px;
}

QLabel#label_albumName {
    font: 12pt "华文楷体";
}

QLabel#label_duration {
    font: 12pt "华文楷体";
}

QToolTip {
    color:black;
    background-color:white;
    border: 1px solid white;
    border-radius: 2px;
}


/* QTableView 样式 */
QTableView#tableView_songs {
    alternate-background-color: #fafafa;  /* 交替行背景色 */
    gridline-color: #dcdcdc;  /* 网格线颜色 */
    selection-background-color: #d8d8d8;  /* 选中时的背景色 */
    selection-color: black;  /* 选中时的字体颜色 */
    border: none;  /* 无边框 */
}

/* 表头样式 */
QHeaderView::section {
    background-color: #f0f0f0;  /* 表头背景色 */
    color: #555555;  /* 表头文字颜色 */
    border: 1px solid #e0e0e0;  /* 表头边框 */
    padding-left: 5px;  /* 增加内边距 */
    font-weight: bold;  /* 表头文字加粗 */
    height: 30px;  /* 控制表头高度 */
}

/* 表格内容样式，增加内边距以提高可读性 */
QTableView::item {
    padding: 2px;
}

/* 悬浮效果 */
QTableView::item:hover {
    background-color: #e8e8e8;  /* 悬浮时背景色 */
}

/* 隐藏初始滚动条 */
QScrollBar:vertical {
    background: #f6f6f6;
    width: 10px;
    margin: 0;
}

QScrollBar::handle:vertical {
    background: #dcdcdc;
    min-height: 20px;
}

QScrollBar::add-line:vertical,
QScrollBar::sub-line:vertical {
    background: none;
    border: none;
}

/* 水平滚动条样式 */
QScrollBar:horizontal {
    background: #f6f6f6;
    height: 10px;
}

QScrollBar::handle:horizontal {
    background: #dcdcdc;
    min-width: 20px;
}



QTabWidget::pane{
    border:none;
}

QListWidget {
    outline:0px;
}

QListWidget::item {
    border: none;
    border-radius:10px;
}

QListWidget::item:hover {
    background-color: #ececf4;
}

QListWidget::item:selected {
/*background-color: #ff6b6b; /* 更柔和的红色 */
background-color: rgba(255, 50, 50,0.8); /* 明亮的红色 */
/*    background-color:rgba(234, 239, 253, 150);*/
}

QListWidget#listWidget_menu
{
    font-size: 25px;
    background-color: white;
}


QListWidget#listWidget_lrc::item {
    color:rgb(255, 255, 255, 150);
    padding-top: 15px;
    padding-bottom:15px;
    background-color: transparent;
}

QListWidget#listWidget_searchResult::item:!pressed {
    color:black;
}

QListWidget#listWidget_lrc {
    font-size:40px;
    background-color: transparent;
}

QListWidget#listWidget_songlistWidget {
    margin-top: 10px;
}

QListWidget#listWidget_songlistWidget::item {
    font-size:25px;
    padding: 10px;
}

QListWidget#listWidget_songlistWidget::item:hover {
    background-color: #f2f2f4;
}

QListWidget#listWidget_lrc::item:selected {
    color:rgba(0, 0, 255, 100);
    background-color:rgba(234, 239, 253, 150);
}

QListWidget#listWidget_lrc::item:hover {
    color:rgba(255, 255, 255, 100);
    background-color:rgba(245, 245, 247, 150);
}

QListWidget#searchTips {
    border: none;
    background-color: white;
    font-size:25px;
    border-radius: 5px;
}

QListWidget#searchTips::item {
    margin: 5px;
    padding: 5px;
}

QListWidget#listWidget_songList::item:hover {
    background-color: transparent;
}

QListWidget#listWidget_songList::item:selected {
    background-color: transparent;
}


QScrollBar:vertical {
    margin: 5px 0px 5px 0px;
    background-color: white;
    border: 0px;
    width: 8px;
}

QScrollBar::handle:vertical {
    background-color: rgba(153, 153, 153, 0.735);
    border-radius: 4px;
    width: 8px;
    height: 15px;
}

QScrollBar::handle:vertical:hover {
    background-color: #999;
}

QScrollBar::sub-line:vertical {
    height: 0px;
    color:  white;
}

QScrollBar::add-line:vertical {
    height: 0px;
    color:  white;
}

QScrollBar::up-arrow:vertical {
    width: 12px;
    height: 0px;
    color:  white;
}

QScrollBar::down-arrow:vertical {
    width: 12px;
    height: 0px;
    color:  white;
}

QScrollBar::sub-page:vertical,
QScrollBar::add-page:vertical {
    background-color: white;
}

QSlider {
    background-color:transparent;
}
QSlider::groove:horizontal {
    margin-top:0px;
    margin-left:-7px;
    margin-right:-7px;
    border: 1px solid #bbb;
    background: transparent;
    height: 3px;
    border-radius:1px;
}

QSlider::sub-page:horizontal {
    background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1, stop: 0 #ff6b6b, stop: 1 #c94c4c);
    border: 1px  #b22222;
    height: 2px;
    border-radius: 1px;
}
QSlider::add-page:horizontal {
    background: #d3d3d3; /* 浅灰色 */
    border: 1px  #b22222;
    height: 2px;
    border-radius: 1px;
}



QSlider::handle:horizontal {
    border: 1px solid gray;
    background-color:white;
    width: 8px;
    height:8px;
    margin-top: -4px;
    margin-bottom: -4px;
    border-radius: 4px;
}

QSlider#horizontalSlider_volume::groove:horizontal {
    margin-left:2px;
    padding-left:-2px;
}
